package service;

import dao.goodsMapper;
import entity.goods;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.*;
@Service
public class SelectGoodsByIdService {

    @Autowired
    private goodsMapper goodsMapper;

    public goods selectGoodsById(Integer goodsId){
        return goodsMapper.selectByPrimaryKey(goodsId);
    }
}
